//
//  BaseCollectionView.m
//  XYFMApp
//
//  Created by 岁变 on 16/8/30.
//  Copyright © 2016年 岁变. All rights reserved.
//

#import "BaseCollectionView.h"
#import "XYMacro.h"

@implementation BaseCollectionView


- (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout {
    
    self = [super initWithFrame:frame collectionViewLayout:layout];
    if (self) {
        self.bounces = NO;
        self.backgroundColor = BACKGROUNDCOLOR;
        self.showsVerticalScrollIndicator = NO;
        self.showsHorizontalScrollIndicator = NO;
        self.showsVerticalScrollIndicator = NO;
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
